package ncov.model;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;

import java.io.Serializable;

/**
 * (Student)实体类
 *
 * @author makejava
 * @since 2020-06-04 15:48:50
 */
public class Student implements Serializable {
    @ExcelIgnore
    private Integer id;
    @ExcelIgnore
    private Integer gradeId;
    @ExcelProperty("学号")
    private String stuId;
    @ExcelProperty("姓名")
    private String name;
    @ExcelProperty("部门")
    private String department;
    @ExcelProperty("班级")
    private String inClass;
    @ExcelProperty("手机号")
    private String phone;

    // 建立报单单向一对一关联
    @ExcelIgnore
    private ReportRecord reportRecord;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getGradeId() {
        return gradeId;
    }

    public void setGradeId(Integer gradeId) {
        this.gradeId = gradeId;
    }
    
    public String getStuId() {
        return stuId;
    }

    public void setStuId(String stuId) {
        this.stuId = stuId;
    }
    
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    
    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }
    
    public String getInClass() {
        return inClass;
    }

    public void setInClass(String inClass) {
        this.inClass = inClass;
    }
    
    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public ReportRecord getReportRecord() {
        return reportRecord;
    }

    public void setReportRecord(ReportRecord reportRecord) {
        this.reportRecord = reportRecord;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", gradeId=" + gradeId +
                ", stuId='" + stuId + '\'' +
                ", name='" + name + '\'' +
                ", department='" + department + '\'' +
                ", inClass='" + inClass + '\'' +
                ", phone='" + phone + '\'' +
                '}';
    }
}